package com.colin.app.fragment.recyclerview;

import android.support.v7.widget.RecyclerView;

import com.colin.app.app.AppActivity;
import com.colin.app.bean.ItemBean;
import com.colin.library.base.BaseModel;
import com.colin.library.base.BasePresenter;
import com.colin.library.base.BaseView;

import java.util.List;

/**
 * Created by Colin on 2017/1/15.
 */

public interface RecyclerViewContract {

    interface RecyclerViewView extends BaseView {
    }

    interface RecyclerViewPresenter extends BasePresenter {
        List<ItemBean> getItemBeanList(boolean isRefresh);

        RecyclerView.LayoutManager getLayoutManager();

        boolean isLastPage();
    }

    interface RecyclerViewModel extends BaseModel {

        RecyclerView.LayoutManager getLayoutManager(AppActivity mAppActivity);



        List<ItemBean> getItemBeanList(int page);
    }
}
